Automattic\WooCommerce\Internal\Admin\WcPayWelcomePage A

Total Complexity 56
Dependencies 4
Dependents 3
Total lines 498
Lines of code 253
Logical lines of code 114
Comment lines 167
Methods 14
Properties 2

Methods 14

Method Rating Maintainability Complexity Lines of code
get_incentive()
A
38 13 73
register_payments_welcome_page()
A
45 7 43
has_orders()
S
51 6 26
has_wcpay()
S
53 6 23
must_be_visible()
S
57 6 18
is_incentive_dismissed()
S
60 4 14
shared_settings()
S
65 3 10
instance()
S
75 2 4
allowed_promo_notes()
S
69 2 7
onboarding_task_badge()
S
71 2 6
has_wcpay_account_data()
S
68 2 7
generate_context_hash()
S
61 1 13
__construct()
S
69 1 6
is_wcpay_active()
S
80 1 3